package com.yyk.springservicetwo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ljp
 * @CLASSNAME RedissonProperties
 * @date 2021/2/3 9:58
 * @description：
 */
@Component
@ConfigurationProperties(prefix = "spring.redisson")
@Data
public class RedissonProperties {
    private String database;
    private String host;
    private String port;
    private String password;
    private String timeout;

}
